﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B2D RID: 2861
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MissionAcceptScNotify : IMessage<MissionAcceptScNotify>, IMessage, IEquatable<MissionAcceptScNotify>, IDeepCloneable<MissionAcceptScNotify>, IBufferMessage
	{
		// Token: 0x1700241E RID: 9246
		// (get) Token: 0x06008001 RID: 32769 RVA: 0x0015599C File Offset: 0x00153B9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MissionAcceptScNotify> Parser
		{
			get
			{
				return MissionAcceptScNotify._parser;
			}
		}

		// Token: 0x1700241F RID: 9247
		// (get) Token: 0x06008002 RID: 32770 RVA: 0x001559A3 File Offset: 0x00153BA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MissionAcceptScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002420 RID: 9248
		// (get) Token: 0x06008003 RID: 32771 RVA: 0x001559B5 File Offset: 0x00153BB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MissionAcceptScNotify.Descriptor;
			}
		}

		// Token: 0x06008004 RID: 32772 RVA: 0x001559BC File Offset: 0x00153BBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionAcceptScNotify()
		{
		}

		// Token: 0x06008005 RID: 32773 RVA: 0x001559CF File Offset: 0x00153BCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionAcceptScNotify(MissionAcceptScNotify other) : this()
		{
			this.subMissionIdList_ = other.subMissionIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008006 RID: 32774 RVA: 0x001559F9 File Offset: 0x00153BF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionAcceptScNotify Clone()
		{
			return new MissionAcceptScNotify(this);
		}

		// Token: 0x17002421 RID: 9249
		// (get) Token: 0x06008007 RID: 32775 RVA: 0x00155A01 File Offset: 0x00153C01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SubMissionIdList
		{
			get
			{
				return this.subMissionIdList_;
			}
		}

		// Token: 0x06008008 RID: 32776 RVA: 0x00155A09 File Offset: 0x00153C09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MissionAcceptScNotify);
		}

		// Token: 0x06008009 RID: 32777 RVA: 0x00155A17 File Offset: 0x00153C17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MissionAcceptScNotify other)
		{
			return other != null && (other == this || (this.subMissionIdList_.Equals(other.subMissionIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600800A RID: 32778 RVA: 0x00155A4C File Offset: 0x00153C4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.subMissionIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600800B RID: 32779 RVA: 0x00155A80 File Offset: 0x00153C80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600800C RID: 32780 RVA: 0x00155A88 File Offset: 0x00153C88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600800D RID: 32781 RVA: 0x00155A91 File Offset: 0x00153C91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.subMissionIdList_.WriteTo(ref output, MissionAcceptScNotify._repeated_subMissionIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600800E RID: 32782 RVA: 0x00155AB8 File Offset: 0x00153CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.subMissionIdList_.CalculateSize(MissionAcceptScNotify._repeated_subMissionIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600800F RID: 32783 RVA: 0x00155AF1 File Offset: 0x00153CF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MissionAcceptScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.subMissionIdList_.Add(other.subMissionIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008010 RID: 32784 RVA: 0x00155B1F File Offset: 0x00153D1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008011 RID: 32785 RVA: 0x00155B28 File Offset: 0x00153D28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U && num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.subMissionIdList_.AddEntriesFrom(ref input, MissionAcceptScNotify._repeated_subMissionIdList_codec);
				}
			}
		}

		// Token: 0x040030FB RID: 12539
		private static readonly MessageParser<MissionAcceptScNotify> _parser = new MessageParser<MissionAcceptScNotify>(() => new MissionAcceptScNotify());

		// Token: 0x040030FC RID: 12540
		private UnknownFieldSet _unknownFields;

		// Token: 0x040030FD RID: 12541
		public const int SubMissionIdListFieldNumber = 7;

		// Token: 0x040030FE RID: 12542
		private static readonly FieldCodec<uint> _repeated_subMissionIdList_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x040030FF RID: 12543
		private readonly RepeatedField<uint> subMissionIdList_ = new RepeatedField<uint>();
	}
}
